package com.jwsoft.manager.common.vo.eduAddressSchoolAudit;

import com.bifang.assistant.common.vo.BaseAuditVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.util.Date;
import java.util.List;

/**
 * 地址学校关联审核表VO
 *
 * @author fangs
 * @since 2023-02-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "EduAddressSchoolAuditVO", title = "地址学校关联审核表VO", description = "地址学校关联审核表实体类")
public class EduAddressSchoolAuditVO extends BaseAuditVO {
    @Schema(name = "id", title = "审核主键")
    private Long id;
    private List<Long> idList;

    @Schema(name = "addressId", title = "地址id")
    private String addressId;

    @Schema(name = "addressName", title = "地址名称")
    private String addressName;

    @Schema(name = "schoolId", title = "学校id")
    private String schoolId;

    @Schema(name = "schoolName", title = "学校名称")
    private String schoolName;

    @Schema(name = "nativeFlag", title = "是否原住居民可读")
    @NotBlank(message = "是否原住居民可读不能为空")
    private String nativeFlag;

    @Schema(name = "createName", title = "创建人")
    private String createName;

    @Schema(name = "createTime", title = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @Schema(name = "authStatus", title = "审核状态")
    private String authStatus;

    @Schema(name = "authRemarks", title = "审核意见")
    private String authRemarks;

    @Schema(name = "authTime", title = "审核时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date authTime;

    @Schema(name = "authUserId", title = "审核人")
    private String authUserId;

    @Schema(name = "serviceAreaFlag", title = "是否服务区 0 否 1是")
    private String serviceAreaFlag;

    @Schema(name = "areaCode", title = "所属行政区划")
    private String areaCode;

    @Schema(name = "areaName", title = "所属行政区划name")
    private String areaName;

    @Schema(name = "treeId", title = "edu_address_tree地址叶子节点主键")
    private Long treeId;
    @Schema(name = "verificationFlag", title = "是否需要核验：0 否 1是")
    private String verificationFlag;

    @Schema(name = "auditAuto", title = "自动审核标志，1是0否")
    private String auditAuto;
}
